﻿namespace Ymatou.Evaluate.Buyer.Model.Dto
{
    /// <summary>
    /// 评价类型
    /// </summary>
    public enum EvaluateType
    {
        /// <summary>
        /// 总评
        /// </summary>
        All = 0,

        /// <summary>
        /// 好评
        /// </summary>
        Top = 1,

        /// <summary>
        /// 中评
        /// </summary>
        Mid = 2,

        /// <summary>
        /// 差评
        /// </summary>
        Low = 3,

        /// <summary>
        /// 有图
        /// </summary>
        Img = 4,
    }

    /// <summary>
    /// 评价状态
    /// </summary>
    public enum EvaluateStatus
    {
        /// <summary>
        /// 订单不存在
        /// </summary>
        NotExists = -1,

        /// <summary>
        /// 待评价
        /// </summary>
        Pending = 0,

        /// <summary>
        /// 已评价
        /// </summary>
        Evaluated = 1,

        /// <summary>
        /// 超时未评价，买家不能评价，60天自动评价job处理
        /// </summary>
        Expired = 2,
    }

    /// <summary>
    /// 商品计数
    /// </summary>
    public class ProductCounter
    {
        public string ProductId { get; set; }
        public int Counter { get; set; }
    }
}
